x86/HVM: meet xentrace's expectations on emulation event data
authorJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2018 09:00:01 +0000 (11:00 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2018 09:00:01 +0000 (11:00 +0200)
commit63f9a08a3eadf9b1969fcb5cbd7590168cea6316
treeadcbfc74b363f714b2dcbfba1dbcb93985c744f9
parente6a8fe423e87df5793a46e624bd5eccf92e3ac13
x86/HVM: meet xentrace's expectations on emulation event data

According to the logic in hvm_mmio_assist_process(), 64 bits of data are
expected with 64-bit addresses, and 32 bits of data with 32-bit ones. I
don't think this is very reasonable, but I'm also not going to touch the
consumer side, the more that it is anyway not very helpful for the code
here to only ever supply 32 bits of data (despite the field being 64
bits wide, and having been even in the 32-bit days of Xen).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/emulate.c